import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/table/list',
    method: 'get',
    params
  })
}

export function getElectronic(params) {
  return request({
    url: '/electronic',
    method: 'get',
    params
  })
}

export function getInRecord(params) {
  return request({
    url: '/in_record',
    method: 'get',
    params
  })
}

export function getOutRecord(params) {
  return request({
    url: '/out_record',
    method: 'get',
    params
  })
}

export function getProjectList(params) {
  return request({
    url: '/project_search',
    method: 'get',
    params
  })
}

export function getProductList(params) {
  return request({
    url: '/product_search',
    method: 'get',
    params
  })
}

export function getProduceList(params) {
  return request({
    url: '/produce_search',
    method: 'get',
    params
  })
}

export function getModels(params) {
  return request({
    url: '/models',
    method: 'get',
    params
  })
}

export function getParts(params) {
  return request({
    url: '/parts',
    method: 'get',
    params
  })
}

export function getPartsIn(params) {
  return request({
    url: '/parts_in',
    method: 'get',
    params
  })
}


